/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ${USER}
 * Date: ${YEAR}-${MONTH}-${DAY}
 * Time: ${TIME}
 */
public class Main {
    public static void main(String[] args) {
        ListNode l1 = new ListNode();
        l1.val = 9;
        l1.next = new ListNode();
        l1.next.val = 9;
        l1.next.next = new ListNode();
        l1.next.next.val = 9;
        l1.next.next.next = new ListNode();
        l1.next.next.next.val = 9;
        l1.next.next.next.next = new ListNode();
        l1.next.next.next.next.val = 9;
        l1.next.next.next.next.next = new ListNode();
        l1.next.next.next.next.next.val = 9;
        l1.next.next.next.next.next.next = new ListNode();
        l1.next.next.next.next.next.next.val = 9;

        ListNode l2 = new ListNode();
        l2.val = 9;
        l2.next = new ListNode();
        l2.next.val = 9;
        l2.next.next = new ListNode();
        l2.next.next.val = 9;
        l2.next.next.next = new ListNode();
        l2.next.next.next.val = 9;

        Solution solution = new Solution();
        solution.addTwoNumbers(l1, l2);

    }
}